#include "select.h"
#include "ui_select.h"
#include "moments.h"
#include "accounts.h"
#include "daysmaster.h"

#include <QWidget>

Select::Select(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Select)
{
    ui->setupUi(this);
}

Select::~Select()
{
    delete ui;
}

//选择moments界面；
void Select::on_pushButton_3_clicked()
{
    this->close();
    mt = new Moments;
    mt->show();
}

//选择退出；
void Select::on_pushButton_5_clicked()
{
    this->close();
}

//选择accounts界面；
void Select::on_pushButton_clicked()
{
    this->close();
    at = new Accounts;
    at->show();
}

//选择daysmaster界面；
void Select::on_pushButton_4_clicked()
{
    this->close();
    dm = new DaysMaster;
    dm->show();
}

